<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Cdr Demo</title>
<link rel="stylesheet" type="text/css"
	href="<s:url value='/bootstrap/css/bootstrap.css'/>">
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.js"></script>
<script type="text/javascript" src="js/jquery.form.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("button#btn_search").click(function(){//在点击提交按钮时返回false，就可以页面阻止跳转。
			$("form#form_search").ajaxSubmit(function(resp){
				$("div#search_result").html(resp);
			});
			return false;
		});
	});
</script>
</head>
<body
	style="background:url(<s:url value='/img/bg.png'/>);background-repeat:no-repeat;background-color: #C0DEED">
	<div class="container">
		<div class="page-header" style="border: none;">
			<h1>Cdr Demo</h1>
		</div>
		<form id="form_search" class="form-inline" action="search.do">
			主叫号码：<input name="addr" type="text" class="input" />
			<button id="btn_search" type="submit" class="btn">提交</button>
		</form>
		<div id="search_result" class="well rbwell"></div>
	</div>
</body>
</html>